const getters = {
  sidebar: (state) => state.app.sidebar,
  size: (state) => state.app.size,
  device: (state) => state.app.device,
  visitedViews: (state) => state.tagsView.visitedViews,
  cachedViews: (state) => state.tagsView.cachedViews,
  token: (state) => state.user.token,
  avatar: (state) => state.user.avatar,
  phonenumber: (state) => state.user.phonenumber,
  userInfo: (state) => state.user.userInfo,
  name: (state) => state.user.name,
  email: (state) => state.user.email,
  userId: (state) => state.user.userId,
  userType: (state) => state.user.userType,
  cmId: (state) => state.user.cmId,
  introduction: (state) => state.user.introduction,
  roles: (state) => state.user.roles,
  permissions: (state) => state.user.permissions,
  permission_routes: (state) => state.permission.routes,
  topbarRouters: (state) => state.permission.topbarRouters,
  defaultRoutes: (state) => state.permission.defaultRoutes,
  sidebarRouters: (state) => state.permission.sidebarRouters,
  BM: (state) => state.permission.BM,
  constantBmRoutes: (state) => state.permission.constantBmRoutes,
  // 问圈id
  circleId: (state) => state.user.circleId,
  // websocket
  webSocketConnect: (state) => state.websocket.webSocketConnect,
  webSocketMsg: (state) => state.websocket.webSocketMsg,
  messageNum: (state) => state.chat.messageNum,
  chatUserList: (state) => state.chat.chatUserList, //全局用户列表
  //tencentCall
  callState: (state) => state.tencentCall.callState,
  isCall: (state) => state.tencentCall.isCall
};
export default getters;
